x86emul: drop SrcInvalid
authorJan Beulich <jbeulich@suse.com>
Tue, 16 Aug 2016 13:44:05 +0000 (15:44 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 16 Aug 2016 13:44:05 +0000 (15:44 +0200)
commitc4e7a67e3a109a3d507d2617b77017e40d59f04a
tree07bd06b0e4296eed4bd6a545c9b05c21b062382a
parent2f2a3d2a0c803c924ebb2e3c9fb47df50f619976
x86emul: drop SrcInvalid

As of commit a800e4f611 ("x86emul: drop pointless and add useful
default cases") we no longer need the early bailing when "d == 0" (the
default cases in the main switch() statements take care of that),
removal of which renders both callers of internal_error() wrong and
SrcInvalid useless. Drop them, as they're going to get in the way of
completing the decoder to cover all known insns (to allow it to be
used by more callers) without at the same time completing the actual
emulation logic.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/x86_emulate/x86_emulate.c